ioemu: Add SEEK_STAT in all non-error cases except sleep request,
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 27 Aug 2008 13:57:23 +0000 (14:57 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 27 Aug 2008 13:57:23 +0000 (14:57 +0100)
commit86cf63d6f45f02b9f2abd81f80db01cb9b8a5d8b
tree20ef95da5d1a0108b57280c68945d37ee298e6be
parentd818f3cb7c0c03edb1f46874fc78aa895075b3d9
ioemu: Add SEEK_STAT in all non-error cases except sleep request,
since our seek times are virtually 0.  Although this flag is
deprecated by newer ATA standards, Linux at least checks it for CD
drives, and would timeout in some cases if we do not set it.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/hw/ide.c